IRedisTypedClientAsync<T>
Assembly: ServiceStack.Interfaces.dll
View Source
public interface IRedisTypedClientAsync<T> : IEntityStoreAsync<T>
Properties
Lists
View Source
IHasNamed<IRedisListAsync<T>> Lists { get; }
Sets
View Source
IHasNamed<IRedisSetAsync<T>> Sets { get; }
SortedSets
View Source
IHasNamed<IRedisSortedSetAsync<T>> SortedSets { get; }
TypeIdsSet
View Source
IRedisSetAsync TypeIdsSet { get; }
RedisClient
View Source
IRedisClientAsync RedisClient { get; }
Db
View Source
long Db { get; }
SequenceKey
View Source
string SequenceKey { get; set; }
Methods
GetHash<TKey>(String)
View Source
IRedisHashAsync<TKey, T> GetHash<TKey>(string hashId)
Returns
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>>
Parameters
Type | Name |
---|---|
System.String | hashId |
Type Parameters
TKey
CreateTransactionAsync(CancellationToken)
View Source
ValueTask<IRedisTypedTransactionAsync<T>> CreateTransactionAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.Generic.IRedisTypedTransactionAsync<<T>>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
CreatePipeline()
View Source
IRedisTypedPipelineAsync<T> CreatePipeline()
Returns
ServiceStack.Redis.Generic.IRedisTypedPipelineAsync<T>
AcquireLockAsync(Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<IAsyncDisposable> AcquireLockAsync(TimeSpan? timeOut = null, CancellationToken token = default(CancellationToken))
Returns
ValueTask<IAsyncDisposable>
Parameters
Type | Name |
---|---|
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
SelectAsync(Int64, CancellationToken)
View Source
ValueTask SelectAsync(long db, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int64 | db |
System.Threading.CancellationToken | token |
GetAllKeysAsync(CancellationToken)
View Source
ValueTask<List<string>> GetAllKeysAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
UrnKey(T)
View Source
string UrnKey(T value)
Returns
System.String
Parameters
Type | Name |
---|---|
<T> | value |
SetSequenceAsync(Int32, CancellationToken)
View Source
ValueTask SetSequenceAsync(int value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Int32 | value |
System.Threading.CancellationToken | token |
GetNextSequenceAsync(CancellationToken)
View Source
ValueTask<long> GetNextSequenceAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetNextSequenceAsync(Int32, CancellationToken)
View Source
ValueTask<long> GetNextSequenceAsync(int incrBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.Int32 | incrBy |
System.Threading.CancellationToken | token |
GetEntryTypeAsync(String, CancellationToken)
View Source
ValueTask<RedisKeyType> GetEntryTypeAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<ServiceStack.Redis.RedisKeyType>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetRandomKeyAsync(CancellationToken)
View Source
ValueTask<string> GetRandomKeyAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.String>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SetValueAsync(String, T, CancellationToken)
View Source
ValueTask SetValueAsync(string key, T entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
<T> | entity |
System.Threading.CancellationToken | token |
SetValueAsync(String, T, TimeSpan, CancellationToken)
View Source
ValueTask SetValueAsync(string key, T entity, TimeSpan expireIn, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.String | key |
<T> | entity |
System.TimeSpan | expireIn |
System.Threading.CancellationToken | token |
SetValueIfNotExistsAsync(String, T, CancellationToken)
View Source
ValueTask<bool> SetValueIfNotExistsAsync(string key, T entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
<T> | entity |
System.Threading.CancellationToken | token |
SetValueIfExistsAsync(String, T, CancellationToken)
View Source
ValueTask<bool> SetValueIfExistsAsync(string key, T entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
<T> | entity |
System.Threading.CancellationToken | token |
StoreAsync(T, TimeSpan, CancellationToken)
View Source
ValueTask<T> StoreAsync(T entity, TimeSpan expireIn, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
<T> | entity |
System.TimeSpan | expireIn |
System.Threading.CancellationToken | token |
GetValueAsync(String, CancellationToken)
View Source
ValueTask<T> GetValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
GetAndSetValueAsync(String, T, CancellationToken)
View Source
ValueTask<T> GetAndSetValueAsync(string key, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
System.String | key |
<T> | value |
System.Threading.CancellationToken | token |
ContainsKeyAsync(String, CancellationToken)
View Source
ValueTask<bool> ContainsKeyAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RemoveEntryAsync(String, CancellationToken)
View Source
ValueTask<bool> RemoveEntryAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
RemoveEntryAsync(String[], CancellationToken)
View Source
ValueTask<bool> RemoveEntryAsync(string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String[] | args |
System.Threading.CancellationToken | token |
RemoveEntryAsync(String[])
View Source
ValueTask<bool> RemoveEntryAsync(params string[] args)
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String[] | args |
RemoveEntryAsync(IHasStringId[], CancellationToken)
View Source
ValueTask<bool> RemoveEntryAsync(IHasStringId[] entities, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Model.IHasStringId[] | entities |
System.Threading.CancellationToken | token |
RemoveEntryAsync(IHasStringId[])
View Source
ValueTask<bool> RemoveEntryAsync(params IHasStringId[] entities)
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Model.IHasStringId[] | entities |
IncrementValueAsync(String, CancellationToken)
View Source
ValueTask<long> IncrementValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
IncrementValueByAsync(String, Int32, CancellationToken)
View Source
ValueTask<long> IncrementValueByAsync(string key, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | count |
System.Threading.CancellationToken | token |
DecrementValueAsync(String, CancellationToken)
View Source
ValueTask<long> DecrementValueAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
DecrementValueByAsync(String, Int32, CancellationToken)
View Source
ValueTask<long> DecrementValueByAsync(string key, int count, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.String | key |
System.Int32 | count |
System.Threading.CancellationToken | token |
ExpireInAsync(Object, TimeSpan, CancellationToken)
View Source
ValueTask<bool> ExpireInAsync(object id, TimeSpan expiresAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Object | id |
System.TimeSpan | expiresAt |
System.Threading.CancellationToken | token |
ExpireAtAsync(Object, DateTime, CancellationToken)
View Source
ValueTask<bool> ExpireAtAsync(object id, DateTime dateTime, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Object | id |
System.DateTime | dateTime |
System.Threading.CancellationToken | token |
ExpireEntryInAsync(String, TimeSpan, CancellationToken)
View Source
ValueTask<bool> ExpireEntryInAsync(string key, TimeSpan expiresAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.TimeSpan | expiresAt |
System.Threading.CancellationToken | token |
ExpireEntryAtAsync(String, DateTime, CancellationToken)
View Source
ValueTask<bool> ExpireEntryAtAsync(string key, DateTime dateTime, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.String | key |
System.DateTime | dateTime |
System.Threading.CancellationToken | token |
GetTimeToLiveAsync(String, CancellationToken)
View Source
ValueTask<TimeSpan> GetTimeToLiveAsync(string key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.TimeSpan>
Parameters
Type | Name |
---|---|
System.String | key |
System.Threading.CancellationToken | token |
ForegroundSaveAsync(CancellationToken)
View Source
ValueTask ForegroundSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
BackgroundSaveAsync(CancellationToken)
View Source
ValueTask BackgroundSaveAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
FlushDbAsync(CancellationToken)
View Source
ValueTask FlushDbAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
FlushAllAsync(CancellationToken)
View Source
ValueTask FlushAllAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
SearchKeysAsync(String, CancellationToken)
View Source
ValueTask<T[]> SearchKeysAsync(string pattern, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>[]>
Parameters
Type | Name |
---|---|
System.String | pattern |
System.Threading.CancellationToken | token |
GetValuesAsync(List<String>, CancellationToken)
View Source
ValueTask<List<T>> GetValuesAsync(List<string> keys, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<System.String> | keys |
System.Threading.CancellationToken | token |
GetSortedEntryValuesAsync(IRedisSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetSortedEntryValuesAsync(IRedisSetAsync<T> fromSet, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
StoreAsHashAsync(T, CancellationToken)
View Source
ValueTask StoreAsHashAsync(T entity, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
<T> | entity |
System.Threading.CancellationToken | token |
GetFromHashAsync(Object, CancellationToken)
View Source
ValueTask<T> GetFromHashAsync(object id, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
System.Object | id |
System.Threading.CancellationToken | token |
GetAllItemsFromSetAsync(IRedisSetAsync<T>, CancellationToken)
View Source
ValueTask<HashSet<T>> GetAllItemsFromSetAsync(IRedisSetAsync<T> fromSet, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
System.Threading.CancellationToken | token |
AddItemToSetAsync(IRedisSetAsync<T>, T, CancellationToken)
View Source
ValueTask AddItemToSetAsync(IRedisSetAsync<T> toSet, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | toSet |
<T> | item |
System.Threading.CancellationToken | token |
RemoveItemFromSetAsync(IRedisSetAsync<T>, T, CancellationToken)
View Source
ValueTask RemoveItemFromSetAsync(IRedisSetAsync<T> fromSet, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
<T> | item |
System.Threading.CancellationToken | token |
PopItemFromSetAsync(IRedisSetAsync<T>, CancellationToken)
View Source
ValueTask<T> PopItemFromSetAsync(IRedisSetAsync<T> fromSet, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
System.Threading.CancellationToken | token |
MoveBetweenSetsAsync(IRedisSetAsync<T>, IRedisSetAsync<T>, T, CancellationToken)
View Source
ValueTask MoveBetweenSetsAsync(IRedisSetAsync<T> fromSet, IRedisSetAsync<T> toSet, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
ServiceStack.Redis.Generic.IRedisSetAsync<T> | toSet |
<T> | item |
System.Threading.CancellationToken | token |
GetSetCountAsync(IRedisSetAsync<T>, CancellationToken)
View Source
ValueTask<long> GetSetCountAsync(IRedisSetAsync<T> set, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | set |
System.Threading.CancellationToken | token |
SetContainsItemAsync(IRedisSetAsync<T>, T, CancellationToken)
View Source
ValueTask<bool> SetContainsItemAsync(IRedisSetAsync<T> set, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | set |
<T> | item |
System.Threading.CancellationToken | token |
GetIntersectFromSetsAsync(IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask<HashSet<T>> GetIntersectFromSetsAsync(IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
System.Threading.CancellationToken | token |
GetIntersectFromSetsAsync(IRedisSetAsync<T>[])
View Source
ValueTask<HashSet<T>> GetIntersectFromSetsAsync(params IRedisSetAsync<T>[] sets)
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
StoreIntersectFromSetsAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask StoreIntersectFromSetsAsync(IRedisSetAsync<T> intoSet, IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
System.Threading.CancellationToken | token |
StoreIntersectFromSetsAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[])
View Source
ValueTask StoreIntersectFromSetsAsync(IRedisSetAsync<T> intoSet, params IRedisSetAsync<T>[] sets)
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
GetUnionFromSetsAsync(IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask<HashSet<T>> GetUnionFromSetsAsync(IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
System.Threading.CancellationToken | token |
GetUnionFromSetsAsync(IRedisSetAsync<T>[])
View Source
ValueTask<HashSet<T>> GetUnionFromSetsAsync(params IRedisSetAsync<T>[] sets)
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
StoreUnionFromSetsAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask StoreUnionFromSetsAsync(IRedisSetAsync<T> intoSet, IRedisSetAsync<T>[] sets, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
System.Threading.CancellationToken | token |
StoreUnionFromSetsAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[])
View Source
ValueTask StoreUnionFromSetsAsync(IRedisSetAsync<T> intoSet, params IRedisSetAsync<T>[] sets)
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | sets |
GetDifferencesFromSetAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask<HashSet<T>> GetDifferencesFromSetAsync(IRedisSetAsync<T> fromSet, IRedisSetAsync<T>[] withSets, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | withSets |
System.Threading.CancellationToken | token |
GetDifferencesFromSetAsync(IRedisSetAsync<T>, IRedisSetAsync<T>[])
View Source
ValueTask<HashSet<T>> GetDifferencesFromSetAsync(IRedisSetAsync<T> fromSet, params IRedisSetAsync<T>[] withSets)
Returns
ValueTask<System.Collections.Generic.HashSet<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | withSets |
StoreDifferencesFromSetAsync(IRedisSetAsync<T>, IRedisSetAsync<T>, IRedisSetAsync<T>[], CancellationToken)
View Source
ValueTask StoreDifferencesFromSetAsync(IRedisSetAsync<T> intoSet, IRedisSetAsync<T> fromSet, IRedisSetAsync<T>[] withSets, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | withSets |
System.Threading.CancellationToken | token |
StoreDifferencesFromSetAsync(IRedisSetAsync<T>, IRedisSetAsync<T>, IRedisSetAsync<T>[])
View Source
ValueTask StoreDifferencesFromSetAsync(IRedisSetAsync<T> intoSet, IRedisSetAsync<T> fromSet, params IRedisSetAsync<T>[] withSets)
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | intoSet |
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
ServiceStack.Redis.Generic.IRedisSetAsync<<T>>[] | withSets |
GetRandomItemFromSetAsync(IRedisSetAsync<T>, CancellationToken)
View Source
ValueTask<T> GetRandomItemFromSetAsync(IRedisSetAsync<T> fromSet, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSetAsync<T> | fromSet |
System.Threading.CancellationToken | token |
GetAllItemsFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<List<T>> GetAllItemsFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
GetRangeFromListAsync(IRedisListAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromListAsync(IRedisListAsync<T> fromList, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
SortListAsync(IRedisListAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> SortListAsync(IRedisListAsync<T> fromList, int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Int32 | startingFrom |
System.Int32 | endingAt |
System.Threading.CancellationToken | token |
AddItemToListAsync(IRedisListAsync<T>, T, CancellationToken)
View Source
ValueTask AddItemToListAsync(IRedisListAsync<T> fromList, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | value |
System.Threading.CancellationToken | token |
PrependItemToListAsync(IRedisListAsync<T>, T, CancellationToken)
View Source
ValueTask PrependItemToListAsync(IRedisListAsync<T> fromList, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | value |
System.Threading.CancellationToken | token |
RemoveStartFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<T> RemoveStartFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
BlockingRemoveStartFromListAsync(IRedisListAsync<T>, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<T> BlockingRemoveStartFromListAsync(IRedisListAsync<T> fromList, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
RemoveEndFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<T> RemoveEndFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
RemoveAllFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask RemoveAllFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
TrimListAsync(IRedisListAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask TrimListAsync(IRedisListAsync<T> fromList, int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Int32 | keepStartingFrom |
System.Int32 | keepEndingAt |
System.Threading.CancellationToken | token |
RemoveItemFromListAsync(IRedisListAsync<T>, T, CancellationToken)
View Source
ValueTask<long> RemoveItemFromListAsync(IRedisListAsync<T> fromList, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | value |
System.Threading.CancellationToken | token |
RemoveItemFromListAsync(IRedisListAsync<T>, T, Int32, CancellationToken)
View Source
ValueTask<long> RemoveItemFromListAsync(IRedisListAsync<T> fromList, T value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | value |
System.Int32 | noOfMatches |
System.Threading.CancellationToken | token |
GetListCountAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<long> GetListCountAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
GetItemFromListAsync(IRedisListAsync<T>, Int32, CancellationToken)
View Source
ValueTask<T> GetItemFromListAsync(IRedisListAsync<T> fromList, int listIndex, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Int32 | listIndex |
System.Threading.CancellationToken | token |
SetItemInListAsync(IRedisListAsync<T>, Int32, T, CancellationToken)
View Source
ValueTask SetItemInListAsync(IRedisListAsync<T> toList, int listIndex, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | toList |
System.Int32 | listIndex |
<T> | value |
System.Threading.CancellationToken | token |
InsertBeforeItemInListAsync(IRedisListAsync<T>, T, T, CancellationToken)
View Source
ValueTask InsertBeforeItemInListAsync(IRedisListAsync<T> toList, T pivot, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | toList |
<T> | pivot |
<T> | value |
System.Threading.CancellationToken | token |
InsertAfterItemInListAsync(IRedisListAsync<T>, T, T, CancellationToken)
View Source
ValueTask InsertAfterItemInListAsync(IRedisListAsync<T> toList, T pivot, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | toList |
<T> | pivot |
<T> | value |
System.Threading.CancellationToken | token |
EnqueueItemOnListAsync(IRedisListAsync<T>, T, CancellationToken)
View Source
ValueTask EnqueueItemOnListAsync(IRedisListAsync<T> fromList, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | item |
System.Threading.CancellationToken | token |
DequeueItemFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<T> DequeueItemFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
BlockingDequeueItemFromListAsync(IRedisListAsync<T>, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<T> BlockingDequeueItemFromListAsync(IRedisListAsync<T> fromList, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PushItemToListAsync(IRedisListAsync<T>, T, CancellationToken)
View Source
ValueTask PushItemToListAsync(IRedisListAsync<T> fromList, T item, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
<T> | item |
System.Threading.CancellationToken | token |
PopItemFromListAsync(IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<T> PopItemFromListAsync(IRedisListAsync<T> fromList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Threading.CancellationToken | token |
BlockingPopItemFromListAsync(IRedisListAsync<T>, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<T> BlockingPopItemFromListAsync(IRedisListAsync<T> fromList, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
PopAndPushItemBetweenListsAsync(IRedisListAsync<T>, IRedisListAsync<T>, CancellationToken)
View Source
ValueTask<T> PopAndPushItemBetweenListsAsync(IRedisListAsync<T> fromList, IRedisListAsync<T> toList, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
ServiceStack.Redis.Generic.IRedisListAsync<T> | toList |
System.Threading.CancellationToken | token |
BlockingPopAndPushItemBetweenListsAsync(IRedisListAsync<T>, IRedisListAsync<T>, Nullable<TimeSpan>, CancellationToken)
View Source
ValueTask<T> BlockingPopAndPushItemBetweenListsAsync(IRedisListAsync<T> fromList, IRedisListAsync<T> toList, TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisListAsync<T> | fromList |
ServiceStack.Redis.Generic.IRedisListAsync<T> | toList |
System.Nullable<System.TimeSpan> | timeOut |
System.Threading.CancellationToken | token |
AddItemToSortedSetAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask AddItemToSortedSetAsync(IRedisSortedSetAsync<T> toSet, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | toSet |
<T> | value |
System.Threading.CancellationToken | token |
AddItemToSortedSetAsync(IRedisSortedSetAsync<T>, T, Double, CancellationToken)
View Source
ValueTask AddItemToSortedSetAsync(IRedisSortedSetAsync<T> toSet, T value, double score, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | toSet |
<T> | value |
System.Double | score |
System.Threading.CancellationToken | token |
RemoveItemFromSortedSetAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask<bool> RemoveItemFromSortedSetAsync(IRedisSortedSetAsync<T> fromSet, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | fromSet |
<T> | value |
System.Threading.CancellationToken | token |
PopItemWithLowestScoreFromSortedSetAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<T> PopItemWithLowestScoreFromSortedSetAsync(IRedisSortedSetAsync<T> fromSet, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | fromSet |
System.Threading.CancellationToken | token |
PopItemWithHighestScoreFromSortedSetAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<T> PopItemWithHighestScoreFromSortedSetAsync(IRedisSortedSetAsync<T> fromSet, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | fromSet |
System.Threading.CancellationToken | token |
SortedSetContainsItemAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask<bool> SortedSetContainsItemAsync(IRedisSortedSetAsync<T> set, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
<T> | value |
System.Threading.CancellationToken | token |
IncrementItemInSortedSetAsync(IRedisSortedSetAsync<T>, T, Double, CancellationToken)
View Source
ValueTask<double> IncrementItemInSortedSetAsync(IRedisSortedSetAsync<T> set, T value, double incrementBy, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
<T> | value |
System.Double | incrementBy |
System.Threading.CancellationToken | token |
GetItemIndexInSortedSetAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask<long> GetItemIndexInSortedSetAsync(IRedisSortedSetAsync<T> set, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
<T> | value |
System.Threading.CancellationToken | token |
GetItemIndexInSortedSetDescAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask<long> GetItemIndexInSortedSetDescAsync(IRedisSortedSetAsync<T> set, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
<T> | value |
System.Threading.CancellationToken | token |
GetAllItemsFromSortedSetAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<List<T>> GetAllItemsFromSortedSetAsync(IRedisSortedSetAsync<T> set, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Threading.CancellationToken | token |
GetAllItemsFromSortedSetDescAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<List<T>> GetAllItemsFromSortedSetDescAsync(IRedisSortedSetAsync<T> set, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetAsync(IRedisSortedSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetAsync(IRedisSortedSetAsync<T> set, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetDescAsync(IRedisSortedSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetDescAsync(IRedisSortedSetAsync<T> set, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetAllWithScoresFromSortedSetAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetAllWithScoresFromSortedSetAsync(IRedisSortedSetAsync<T> set, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetAsync(IRedisSortedSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetAsync(IRedisSortedSetAsync<T> set, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetDescAsync(IRedisSortedSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetDescAsync(IRedisSortedSetAsync<T> set, int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Int32 | fromRank |
System.Int32 | toRank |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, String, String, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, String, String, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByLowestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, String, String, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<List<T>> GetRangeFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, String, String, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, string fromStringScore, string toStringScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T>, Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
ValueTask<IDictionary<T, double>> GetRangeWithScoresFromSortedSetByHighestScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.IDictionary<<T>,System.Double>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetAsync(IRedisSortedSetAsync<T>, Int32, Int32, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetAsync(IRedisSortedSetAsync<T> set, int minRank, int maxRank, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Int32 | minRank |
System.Int32 | maxRank |
System.Threading.CancellationToken | token |
RemoveRangeFromSortedSetByScoreAsync(IRedisSortedSetAsync<T>, Double, Double, CancellationToken)
View Source
ValueTask<long> RemoveRangeFromSortedSetByScoreAsync(IRedisSortedSetAsync<T> set, double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Double | fromScore |
System.Double | toScore |
System.Threading.CancellationToken | token |
GetSortedSetCountAsync(IRedisSortedSetAsync<T>, CancellationToken)
View Source
ValueTask<long> GetSortedSetCountAsync(IRedisSortedSetAsync<T> set, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
System.Threading.CancellationToken | token |
GetItemScoreInSortedSetAsync(IRedisSortedSetAsync<T>, T, CancellationToken)
View Source
ValueTask<double> GetItemScoreInSortedSetAsync(IRedisSortedSetAsync<T> set, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Double>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | set |
<T> | value |
System.Threading.CancellationToken | token |
StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[], CancellationToken)
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, IRedisSortedSetAsync<T>[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
System.Threading.CancellationToken | token |
StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[])
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, params IRedisSortedSetAsync<T>[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[], String[], CancellationToken)
View Source
ValueTask<long> StoreIntersectFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, IRedisSortedSetAsync<T>[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
System.String[] | args |
System.Threading.CancellationToken | token |
StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[], CancellationToken)
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, IRedisSortedSetAsync<T>[] setIds, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
System.Threading.CancellationToken | token |
StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[])
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, params IRedisSortedSetAsync<T>[] setIds)
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T>, IRedisSortedSetAsync<T>[], String[], CancellationToken)
View Source
ValueTask<long> StoreUnionFromSortedSetsAsync(IRedisSortedSetAsync<T> intoSetId, IRedisSortedSetAsync<T>[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisSortedSetAsync<T> | intoSetId |
ServiceStack.Redis.Generic.IRedisSortedSetAsync<<T>>[] | setIds |
System.String[] | args |
System.Threading.CancellationToken | token |
HashContainsEntryAsync<TKey>(IRedisHashAsync<TKey, T>, TKey, CancellationToken)
View Source
ValueTask<bool> HashContainsEntryAsync<TKey>(IRedisHashAsync<TKey, T> hash, TKey key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
<TKey> | key |
System.Threading.CancellationToken | token |
Type Parameters
TKey
SetEntryInHashAsync<TKey>(IRedisHashAsync<TKey, T>, TKey, T, CancellationToken)
View Source
ValueTask<bool> SetEntryInHashAsync<TKey>(IRedisHashAsync<TKey, T> hash, TKey key, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
<TKey> | key |
<T> | value |
System.Threading.CancellationToken | token |
Type Parameters
TKey
SetEntryInHashIfNotExistsAsync<TKey>(IRedisHashAsync<TKey, T>, TKey, T, CancellationToken)
View Source
ValueTask<bool> SetEntryInHashIfNotExistsAsync<TKey>(IRedisHashAsync<TKey, T> hash, TKey key, T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
<TKey> | key |
<T> | value |
System.Threading.CancellationToken | token |
Type Parameters
TKey
SetRangeInHashAsync<TKey>(IRedisHashAsync<TKey, T>, IEnumerable<KeyValuePair<TKey, T>>, CancellationToken)
View Source
ValueTask SetRangeInHashAsync<TKey>(IRedisHashAsync<TKey, T> hash, IEnumerable<KeyValuePair<TKey, T>> keyValuePairs, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<<TKey>,<T>>> | keyValuePairs |
System.Threading.CancellationToken | token |
Type Parameters
TKey
GetValueFromHashAsync<TKey>(IRedisHashAsync<TKey, T>, TKey, CancellationToken)
View Source
ValueTask<T> GetValueFromHashAsync<TKey>(IRedisHashAsync<TKey, T> hash, TKey key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
<TKey> | key |
System.Threading.CancellationToken | token |
Type Parameters
TKey
RemoveEntryFromHashAsync<TKey>(IRedisHashAsync<TKey, T>, TKey, CancellationToken)
View Source
ValueTask<bool> RemoveEntryFromHashAsync<TKey>(IRedisHashAsync<TKey, T> hash, TKey key, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
<TKey> | key |
System.Threading.CancellationToken | token |
Type Parameters
TKey
GetHashCountAsync<TKey>(IRedisHashAsync<TKey, T>, CancellationToken)
View Source
ValueTask<long> GetHashCountAsync<TKey>(IRedisHashAsync<TKey, T> hash, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
System.Threading.CancellationToken | token |
Type Parameters
TKey
GetHashKeysAsync<TKey>(IRedisHashAsync<TKey, T>, CancellationToken)
View Source
ValueTask<List<TKey>> GetHashKeysAsync<TKey>(IRedisHashAsync<TKey, T> hash, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<TKey>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
System.Threading.CancellationToken | token |
Type Parameters
TKey
GetHashValuesAsync<TKey>(IRedisHashAsync<TKey, T>, CancellationToken)
View Source
ValueTask<List<T>> GetHashValuesAsync<TKey>(IRedisHashAsync<TKey, T> hash, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
System.Threading.CancellationToken | token |
Type Parameters
TKey
GetAllEntriesFromHashAsync<TKey>(IRedisHashAsync<TKey, T>, CancellationToken)
View Source
ValueTask<Dictionary<TKey, T>> GetAllEntriesFromHashAsync<TKey>(IRedisHashAsync<TKey, T> hash, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.Dictionary<<TKey>,<T>>>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.Generic.IRedisHashAsync<<TKey>,<T>> | hash |
System.Threading.CancellationToken | token |
Type Parameters
TKey
StoreRelatedEntitiesAsync<TChild>(Object, List<TChild>, CancellationToken)
View Source
ValueTask StoreRelatedEntitiesAsync<TChild>(object parentId, List<TChild> children, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Object | parentId |
System.Collections.Generic.List<<TChild>> | children |
System.Threading.CancellationToken | token |
Type Parameters
TChild
StoreRelatedEntitiesAsync<TChild>(Object, TChild[], CancellationToken)
View Source
ValueTask StoreRelatedEntitiesAsync<TChild>(object parentId, TChild[] children, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Object | parentId |
<TChild>[] | children |
System.Threading.CancellationToken | token |
Type Parameters
TChild
StoreRelatedEntitiesAsync<TChild>(Object, TChild[])
View Source
ValueTask StoreRelatedEntitiesAsync<TChild>(object parentId, params TChild[] children)
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Object | parentId |
<TChild>[] | children |
Type Parameters
TChild
DeleteRelatedEntitiesAsync<TChild>(Object, CancellationToken)
View Source
ValueTask DeleteRelatedEntitiesAsync<TChild>(object parentId, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Object | parentId |
System.Threading.CancellationToken | token |
Type Parameters
TChild
DeleteRelatedEntityAsync<TChild>(Object, Object, CancellationToken)
View Source
ValueTask DeleteRelatedEntityAsync<TChild>(object parentId, object childId, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Object | parentId |
System.Object | childId |
System.Threading.CancellationToken | token |
Type Parameters
TChild
GetRelatedEntitiesAsync<TChild>(Object, CancellationToken)
View Source
ValueTask<List<TChild>> GetRelatedEntitiesAsync<TChild>(object parentId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<TChild>>>
Parameters
Type | Name |
---|---|
System.Object | parentId |
System.Threading.CancellationToken | token |
Type Parameters
TChild
GetRelatedEntitiesCountAsync<TChild>(Object, CancellationToken)
View Source
ValueTask<long> GetRelatedEntitiesCountAsync<TChild>(object parentId, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Int64>
Parameters
Type | Name |
---|---|
System.Object | parentId |
System.Threading.CancellationToken | token |
Type Parameters
TChild
AddToRecentsListAsync(T, CancellationToken)
View Source
ValueTask AddToRecentsListAsync(T value, CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
<T> | value |
System.Threading.CancellationToken | token |
GetLatestFromRecentsListAsync(Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetLatestFromRecentsListAsync(int skip, int take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Int32 | skip |
System.Int32 | take |
System.Threading.CancellationToken | token |
GetEarliestFromRecentsListAsync(Int32, Int32, CancellationToken)
View Source
ValueTask<List<T>> GetEarliestFromRecentsListAsync(int skip, int take, CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Int32 | skip |
System.Int32 | take |
System.Threading.CancellationToken | token |